package beanstao.util.type.base;

import beanstao.util.exception.technical.util.reflect.FailToCastObjectException;
import beanstao.util.type.Castor;

@SuppressWarnings({ "rawtypes" })
public class Enum2String extends Castor<Enum, String>
{

	@Override
	public String cast(Enum src, Class<?> toType, String... args) throws FailToCastObjectException
	{
		return src.name();
	}
}
